package com.piesat.quake.business.device.mqtt.anno;

import com.piesat.quake.business.device.mqtt.convert.Convert;

import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

/**
 * ip地址字段
 *
 * @author Gersy
 * @date 2023/3/10
 * @since 1.0
 */
@Target({ElementType.FIELD})
@Retention(RetentionPolicy.RUNTIME)
public @interface ConvertField {
    int length();

    Class<? extends Convert> convert();
}
